package com.lmy.mallback.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lmy.mallback.entity.Product;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
* @author lmy
* @description 针对表【t_product】的数据库操作Mapper
* @createDate 2023-01-11 11:45:06
* @Entity generator.domain.Product
*/
@Mapper
public interface ProductMapper extends BaseMapper<Product> {

    List<Product> list(Map<String, Object> map);

    Long getTotal(Map<String, Object> map);

    void add(Product product);

    void update(Product product);

    Product findById(Integer id);
}




